export interface IResponseData {
  code: number | string
  message: string
  ok: boolean
  data: any
}

//已有品牌数据类型
export interface ITrademark {
  id?: number
  tmName: string
  logoUrl: string
}

//包含所有品牌数据类型
export type Records = ITrademark[]

//获取所有品牌数据接口返回数据类型
export interface ITrademarkResponseData extends IResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}
